CVE-2026-22171
OpenClaw < 2026.2.19 - Path Traversal in Feishu Media Temporary File Naming
Description
OpenClaw versions prior to 2026.2.19 contain a path traversal vulnerability in the Feishu media download flow where untrusted media keys are interpolated directly into temporary file paths in extensions/feishu/src/media.ts. An attacker who can control Feishu media key values returned to the client can use traversal segments to escape os.tmpdir() and write arbitrary files within the OpenClaw process permissions.
INFO
Published Date :
March 18, 2026, 2:16 a.m.
Last Modified :
March 19, 2026, 2:52 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 4.0 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update OpenClaw to version 2026.2.19 or later.
- Validate file paths for untrusted input.
- Sanitize all media key values.
- Restrict file write permissions.
Public PoC/Exploit Available at Github
CVE-2026-22171 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-22171.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-22171 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-22171
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python Dockerfile HTML JavaScript TypeScript CSS Mako Rust Lua
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-22171 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-22171 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 19, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Added CPE Configuration OR *cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* versions up to (excluding) 2026.2.19 Added Reference Type VulnCheck: https://github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871 Types: Patch Added Reference Type VulnCheck: https://github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705 Types: Patch Added Reference Type VulnCheck: https://github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473f Types: Patch Added Reference Type VulnCheck: https://github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46 Types: Mitigation, Vendor Advisory Added Reference Type VulnCheck: https://www.vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-naming Types: Third Party Advisory -
New CVE Received by [email protected]
Mar. 18, 2026
Action Type Old Value New Value Added Description OpenClaw versions prior to 2026.2.19 contain a path traversal vulnerability in the Feishu media download flow where untrusted media keys are interpolated directly into temporary file paths in extensions/feishu/src/media.ts. An attacker who can control Feishu media key values returned to the client can use traversal segments to escape os.tmpdir() and write arbitrary files within the OpenClaw process permissions. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N Added CWE CWE-22 Added Reference https://github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871 Added Reference https://github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705 Added Reference https://github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473f Added Reference https://github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46 Added Reference https://www.vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-naming